﻿@model HANS_BackStage.Model.WebModel.HANS_Login
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>平台登录-HANS</title>
    <link href="~/favicon.ico" rel="shortcut icon" />
    @Styles.Render(BundleConfig.LoginCss)
</head>
<body>
        <div class="container-fluid">
            <div class="signin">
                <div class="signin-head"><img src="~/content/Image/login/head.png" width="120" height="120" class="img-circle"></div>

                @using (Html.BeginForm("login","Home",FormMethod.Post, new { @class = "form-signin js-form-submit" }))
                {
                    @Html.TextBoxFor(N => N.Nane, new { @class = "form-control", @autofocus = "autofocus", @placeholder = "用户名", @autocomplete = "off" })
                    @Html.PasswordFor(P => P.Password, new { @class = "form-control", @placeholder = "密码" })
                    @Html.DropDownListFor(R => Model.RoleTye, Model.Roles, new { @class = "form-control  text-center " })
                    <button class="btn btn-lg btn-warning btn-block " type="submit">登录</button>
                    <label class="checkbox">
                        @Html.CheckBoxFor(R=>R.RememberMe) 记住我
                    </label>
                }
            </div>
        </div>
    @Scripts.Render(BundleConfig.LoginJS)
</body>
</html>
